AppTimer

class AppTimer @JvmOverloads constructor(timerName: String = "", val logger: AppLogger = AppDebug.DEBUG)

A timer times. It records a timestamp upon initialisation and then can log messages at subsequent points with the amount of time that has elapsed since the timer was started and since the last log point.

Constructors

Link copied to clipboard
constructor(timerName: String = "", logger: AppLogger = AppDebug.DEBUG)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun log(lazyMessage: () -> String)
fun log(message: String)